home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 2 / ACE CD 2.iso / FILES / UTILS / HSBASIC2.DMS / in.adf / HB2Examples1.3.Lha / Examples / TimerArithmetic / ReadMe < prev    next >
Encoding:
Text File  |  1994-04-14  |  1020 b   |  24 lines

  1. TimerArithmetic.bas - Example of timer device arithmetic functions
  2. ==================================================================
  3.  
  4. Derived from RKM example (c) Copyright 1992 Commodore-Amiga, Inc.
  5.  
  6. This is a variant on the Commodore example "Using the Time Arithmetic
  7. Functions" taken from the Devices RKM p.295.
  8.  
  9. The example shows how to use the functions available as part of the timer
  10. device. Three timevals are initialised, the timer.device opened and the base
  11. address of the device made available to BASIC, The timer functions can then
  12. be called to work on the timevals.
  13.  
  14. The example will work on all non-obsolete versions of Workbench (V33 and
  15. above).
  16.  
  17. Compiling
  18. ---------
  19. Load the TimerArithmetic_inc.bh file and Tokenise it (Program-Tokenise),
  20. making sure you have no token file selected in the File Options (Settings-
  21. Compiler-Files). Once you have your token file, set the File Options-Token
  22. File setting to the TimerArithmetic_inc.t file just created. Load the
  23. TimerArithmetic.bas file, compile & run it.
  24.